package com.huawei.hwCloudJs.service.a.a;

import android.text.TextUtils;
import android.util.Log;
import com.huawei.hwCloudJs.service.http.a.a;
import com.huawei.hwCloudJs.service.http.a.d;
import com.huawei.hwCloudJs.service.http.annotation.RequestField;

public class b extends a<c> {
    @RequestField("access_token")
    private String accessToken = "1";
    @RequestField("appid")
    private String appId;
    @RequestField("nsp_svc")
    private String nspSvc = "nsp.scope.app.get";
    @RequestField
    private String type = "9";

    public b(String str) {
        this.appId = str;
    }

    public String a() {
        Object c = com.huawei.hwCloudJs.service.locationapi.a.a.a().c();
        if (TextUtils.isEmpty(c)) {
            Log.e("jssdk", "AuthRequest url is empty!");
        }
        return c;
    }

    public void a(String str) {
        this.appId = str;
    }

    public c b() {
        return new c();
    }

    public void b(String str) {
        this.nspSvc = str;
    }

    public String c() {
        return this.appId;
    }

    public void c(String str) {
        this.type = str;
    }

    public String d() {
        return this.nspSvc;
    }

    public void d(String str) {
        this.accessToken = str;
    }

    public String e() {
        return this.type;
    }

    public String f() {
        return this.accessToken;
    }

    public /* synthetic */ d g() {
        return b();
    }
}
